package org.panda.ioc.nvr;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Component
@ConditionalOnProperty(prefix = "nvr", name = "enabled", havingValue = "true")
public class EnabledNvrComponent {

    public EnabledNvrComponent(){
        System.out.println("EnabledNvrComponent init");
    }
}
